cordova.define("com.foreveross.chameleon.user.plugin.PingPlugin", function(require, exports, module) { 
var exec = require("cordova/exec");
var pingppoperation = {

	//获取已安装的模块列表
	setDebugMode:function(succ,fail,status) {
		exec(succ,fail,"PingPlugin","setDebugMode",[status]);
	},
	//所有的支付
    createPayment:function(succ,fail,json) {
		exec(succ,fail,"PingPlugin","createPayment",[json]);
	},
	//微信支付，支付宝支付
	createPaymentWithWeixinOrAlipay:function(succ,fail,json) {
		exec(succ,fail,"PingPlugin","createPaymentWithWeixinOrAlipay",[json]);
	}
};


module.exports = pingppoperation;


});
